package com.bidevalution.business.service;

import com.bidevalution.dao.entity.BeChangeProjectHistory;

import java.util.List;
import java.util.Map;

public interface BeChangeProjectHistoryService {

    /**
     * 插入要修改的项目id
     * @param projectId
     */
    void insertChangeProjectId(String projectId);

    /**
     * 插入要修改的项目id
     * @param sectionId
     */
    void insertChangeProjectIdBySectionId(String sectionId);

    /**
     * 获取待处理数据
     * @return
     * @param params
     */
    List<BeChangeProjectHistory> getPendingList(Map<String,Object> params);

    /**
     *  执行变更
     * @param beChangeProjectHistory
     */
    void executeDisposeChangeProjectId(BeChangeProjectHistory beChangeProjectHistory);

    /**
     * 选择性修改
     * @param beChangeProjectHistory
     * @return
     */
    int updateByPrimaryKeySelective(BeChangeProjectHistory beChangeProjectHistory);

}
